package ServerTraveler;


/**
 * Write a description of class PlayerListener here.
 * 
 * @author The_MHMoritz3
 * @version 1.0
 * @date 19.10.2014
 */

import net.canarymod.hook.Hook;
import net.canarymod.hook.HookHandler;
import net.canarymod.hook.player.ConnectionHook;
import net.canarymod.plugin.PluginListener;

public class PlayerListener implements PluginListener
{
    @HookHandler
    public void onLogin(ConnectionHook hook) {
        hook.getPlayer().message("Hello, "+hook.getPlayer().getName());
    }
}